package com.ruoyi.oto.domain.dto;

import cn.hutool.core.lang.RegexPool;
import lombok.Data;
import org.hibernate.validator.constraints.Range;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Pattern;
import java.util.Date;
import java.util.List;

/**
 * 营商中心介入诉求
 */
@Data
public class YsReplyDemandsDTO {
    /**
     * 答复id
     */
    @NotNull(message = "答复ID不能为空")
    private Long acceptId;

    @Pattern(message = "请填写正确的经办人姓名",regexp = RegexPool.CHINESES)
    private String chargeName;

    @Pattern(message = "请填写正确的经办电话",regexp = RegexPool.MOBILE)
    private String chargePhone;
    /**
     * 答复结果
     */
    private String acceptContent;
    /**
     * 受理状态   0 驳回 1 同意
     */
    @Range(min = 0,max = 1,message = "受理状态不正确")
    private Integer status;
    /**
     * 追加其他部门
     */
    private List<Long> moreBranchIds;

}
